﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 导航
/// </summary>
public partial class SNavigation
{
    /// <summary>
    /// 自增id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 父id
    /// </summary>
    public uint Pid { get; set; }

    /// <summary>
    /// 导航名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// url地址
    /// </summary>
    public string Url { get; set; } = null!;

    /// <summary>
    /// 分类id
    /// </summary>
    public uint Value { get; set; }

    /// <summary>
    /// 数据类型（custom:自定义导航, article_class:文章分类, customview:自定义页面）
    /// </summary>
    public string DataType { get; set; } = null!;

    /// <summary>
    /// 导航类型（header:顶部导航, footer:底部导航）
    /// </summary>
    public string NavType { get; set; } = null!;

    /// <summary>
    /// 排序
    /// </summary>
    public byte Sort { get; set; }

    /// <summary>
    /// 是否显示（0否，1是）
    /// </summary>
    public byte IsShow { get; set; }

    /// <summary>
    /// 是否新窗口打开（0否，1是）
    /// </summary>
    public byte IsNewWindowOpen { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public uint UpdTime { get; set; }
}
